package com.inspur.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class CertificateInfo {
    private Integer certificateId;

    private String certificateNo;

    private String certificateName;

    private String rawCertificateUnit;

    private String nowJobUnit;

    private String mailingAddress;

    private Integer postalCode;

    private String jobPhone;

    private String privatePhone;

    private String eMail;

    private Integer otherCertificate;

    private String remark;

    private Date acquireCertiTime;

    private String certificateGrade;

    private String certificateStatus;

    private Date certificateBegTime;

    private Date certificateEndTime;

    private String ownAgency;

    public CertificateInfo(Integer certificateId, String certificateNo, String certificateName, String rawCertificateUnit, String nowJobUnit, String mailingAddress, Integer postalCode, String jobPhone, String privatePhone, String eMail, Integer otherCertificate, String remark, Date acquireCertiTime, String certificateGrade, String certificateStatus, Date certificateBegTime, Date certificateEndTime, String ownAgency) {
        this.certificateId = certificateId;
        this.certificateNo = certificateNo;
        this.certificateName = certificateName;
        this.rawCertificateUnit = rawCertificateUnit;
        this.nowJobUnit = nowJobUnit;
        this.mailingAddress = mailingAddress;
        this.postalCode = postalCode;
        this.jobPhone = jobPhone;
        this.privatePhone = privatePhone;
        this.eMail = eMail;
        this.otherCertificate = otherCertificate;
        this.remark = remark;
        this.acquireCertiTime = acquireCertiTime;
        this.certificateGrade = certificateGrade;
        this.certificateStatus = certificateStatus;
        this.certificateBegTime = certificateBegTime;
        this.certificateEndTime = certificateEndTime;
        this.ownAgency = ownAgency;
    }

    public CertificateInfo() {
        super();
    }

    public Integer getCertificateId() {
        return certificateId;
    }

    public void setCertificateId(Integer certificateId) {
        this.certificateId = certificateId;
    }

    public String getCertificateNo() {
        return certificateNo;
    }

    public void setCertificateNo(String certificateNo) {
        this.certificateNo = certificateNo == null ? null : certificateNo.trim();
    }

    public String getCertificateName() {
        return certificateName;
    }

    public void setCertificateName(String certificateName) {
        this.certificateName = certificateName == null ? null : certificateName.trim();
    }

    public String getRawCertificateUnit() {
        return rawCertificateUnit;
    }

    public void setRawCertificateUnit(String rawCertificateUnit) {
        this.rawCertificateUnit = rawCertificateUnit == null ? null : rawCertificateUnit.trim();
    }

    public String getNowJobUnit() {
        return nowJobUnit;
    }

    public void setNowJobUnit(String nowJobUnit) {
        this.nowJobUnit = nowJobUnit == null ? null : nowJobUnit.trim();
    }

    public String getMailingAddress() {
        return mailingAddress;
    }

    public void setMailingAddress(String mailingAddress) {
        this.mailingAddress = mailingAddress == null ? null : mailingAddress.trim();
    }

    public Integer getPostalCode() {
        return postalCode;
    }

    public void setPostalCode(Integer postalCode) {
        this.postalCode = postalCode;
    }

    public String getJobPhone() {
        return jobPhone;
    }

    public void setJobPhone(String jobPhone) {
        this.jobPhone = jobPhone == null ? null : jobPhone.trim();
    }

    public String getPrivatePhone() {
        return privatePhone;
    }

    public void setPrivatePhone(String privatePhone) {
        this.privatePhone = privatePhone == null ? null : privatePhone.trim();
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public Integer getOtherCertificate() {
        return otherCertificate;
    }

    public void setOtherCertificate(Integer otherCertificate) {
        this.otherCertificate = otherCertificate;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public Date getAcquireCertiTime() {
        return acquireCertiTime;
    }

    public void setAcquireCertiTime(Date acquireCertiTime) {
        this.acquireCertiTime = acquireCertiTime;
    }

    public String getCertificateGrade() {
        return certificateGrade;
    }

    public void setCertificateGrade(String certificateGrade) {
        this.certificateGrade = certificateGrade == null ? null : certificateGrade.trim();
    }

    public String getCertificateStatus() {
        return certificateStatus;
    }

    public void setCertificateStatus(String certificateStatus) {
        this.certificateStatus = certificateStatus == null ? null : certificateStatus.trim();
    }

    public Date getCertificateBegTime() {
        return certificateBegTime;
    }

    public void setCertificateBegTime(Date certificateBegTime) {
        this.certificateBegTime = certificateBegTime;
    }

    public Date getCertificateEndTime() {
        return certificateEndTime;
    }

    public void setCertificateEndTime(Date certificateEndTime) {
        this.certificateEndTime = certificateEndTime;
    }

    public String getOwnAgency() {
        return ownAgency;
    }

    public void setOwnAgency(String ownAgency) {
        this.ownAgency = ownAgency == null ? null : ownAgency.trim();
    }

    @Override
    public String toString() {
        return "CertificateInfo{" +
                "certificateId=" + certificateId +
                ", certificateNo='" + certificateNo + '\'' +
                ", certificateName='" + certificateName + '\'' +
                ", rawCertificateUnit='" + rawCertificateUnit + '\'' +
                ", nowJobUnit='" + nowJobUnit + '\'' +
                ", mailingAddress='" + mailingAddress + '\'' +
                ", postalCode=" + postalCode +
                ", jobPhone='" + jobPhone + '\'' +
                ", privatePhone='" + privatePhone + '\'' +
                ", eMail='" + eMail + '\'' +
                ", otherCertificate=" + otherCertificate +
                ", remark='" + remark + '\'' +
                ", acquireCertiTime=" + acquireCertiTime +
                ", certificateGrade='" + certificateGrade + '\'' +
                ", certificateStatus='" + certificateStatus + '\'' +
                ", certificateBegTime=" + certificateBegTime +
                ", certificateEndTime=" + certificateEndTime +
                ", ownAgency='" + ownAgency + '\'' +
                '}';
    }
}